package threadTest;

public class Main {
    public static void main(String[] args) {
        Pruduct p = new Pruduct();
        p.sum=1;
        ProducerThread pt = new ProducerThread(p);
        CousemerThread ct = new CousemerThread(p);
        pt.start();
        ct.start();
    }
}
